export function stateFormat(res) {

    for (var i = 0; i < res.length; i++) {
      if(res[i].isDeleted == 0){
        res[i].isDeleted = "未审核";
      }else if(res[i].isDeleted == 1){
        res[i].isDeleted = "已删除";
      }else if(res[i].isDeleted == 2){
        res[i].isDeleted = "已发布";
      }else if(res[i].isDeleted == 3){
        res[i].isDeleted = "已失效";
      }
    }
    
    return res;
  }
  